<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    @font-face {
      font-family: "iconfont";
      src: url("font1.eot");
      src: url("font1.eot?#iefix") format("embedded-opentype"),
      url("font1.woff") format("woff"),
      url("font1.ttf") format("truetype"),
      url("font1.svg#iconfont") format("svg");
    }
    div{
      font-family: 'iconfont';
    }
  </style>
</head>
<body>
<div>

  font.setSvg('&#xeaaa;',circle)
  font.setSvg('&#xeaaf;',mail)
  //console.log(font.toString())
</div>
</body>
</html>
